<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class AddressStore extends TimeModel
{

    protected $name = "address_store";

    protected $deleteTime = "delete_time";

    /**
     * 一个门店对应一个门店地址
     */
    public function store()
    {
        return $this->belongsTo(Store::class,'store_id','id');
    }

}